package com.hksj.cm.mapper;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hksj.cm.dto.DeviceAlarmDTO;
import com.hksj.cm.vo.DeviceAlarmRankVO;
import com.hksj.cm.vo.DeviceAlarmVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @ClassName DeviceAlarmMapper
 * @Description TODO
 * @Author @陈章
 * @Date 2024/7/30 10:18
 * @Version 1.0
 */
@Mapper
public interface DeviceAlarmMapper {

    List<DeviceAlarmVO> deviceAlarmList(@Param("page") Page<DeviceAlarmVO> page, @Param("dto") DeviceAlarmDTO dto);

    int deviceAlarmCount(@Param("dto") DeviceAlarmDTO dto);

    List<DeviceAlarmRankVO> deviceAlarmRank(@Param("dto") DeviceAlarmDTO dto);

}
